home *** CD-ROM | disk | FTP | other *** search
/ 207.233.110.77 / 207.233.110.77.tar / 207.233.110.77 / web08 / Tutorial 5 Review / programs.css < prev    next >
Cascading Style Sheet File  |  2011-03-02  |  1KB  |  37 lines

  1. /*
  2.    New Perspectives on HTML and XHTML 5th Edition
  3.    Tutorial 5
  4.    Review Assignment
  5.  
  6.    Programming Table Style Sheet
  7.    Author: Andrew Densmore
  8.    Date: 3/1/11  
  9.  
  10.    Filename:         programs.css
  11.    Supporting Files: left.jpg, right.jpg, top.jpg, topleft.jpg, topright.jpg 
  12.  
  13. */
  14.  
  15. table.roundedBox    {border-collapse: collapse;
  16.                 font-family: Trebuchet MS, Arial, Verdana, sans-serif; font-size: 0.7em;
  17.                 width: 100%; vertical-align: top;}
  18.  
  19.  
  20.  
  21.  
  22. table.roundedBox thead tr {height: 20px}
  23. table.roundedBox tbody tr {height: 25px}
  24.  
  25. table.roundedBox th, table.roundedBox td {border-collapse: collapse;vertical-align:top; padding: 5px; border: 1px solid grey}
  26.  
  27. table.roundedBox caption {caption-side: bottom; text-align: right; font-size: 0.8em}
  28.  
  29. .topleft,.top, .topright {color: white;background-color: rgb(105,177,60)}
  30. .topleft {background:url(topleft.jpg)no-repeat top left; background-color: rgb(105,177,60)}
  31. .topright {background:url(topright.jpg)no-repeat top right; background-color: rgb(105,177,60)}
  32. table.roundedBox col.timecolumn
  33.                 {width:7%; background-color: rgb(215, 205, 151)}
  34. .timecolumn    {background:url(left.jpg) repeat-y top left}
  35. .dayColumn {width: 13%}
  36. .lastColumn {width:13%; background-color:white; background:url(right.jpg) repeat-y top right}
  37.